package com.htgd.gardenexpo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.htgd.gardenexpo.entity.GeConCalendar;
import com.htgd.gardenexpo.entity.PageQuery;

import java.util.List;

/**
 * <p>
 * 新闻表 服务类
 * </p>
 *
 * @author author
 * @since 2024-02-06
 */
public interface GeConCalendarService extends IService<GeConCalendar> {

    void insert(GeConCalendar geConCalendar);

    void updateEntity(GeConCalendar geConCalendar);

    void deleteById(int newId);

    List<GeConCalendar> getAllNewsByValue(PageQuery pageQuery);

    List<GeConCalendar> getAllNewsByValueNoContent(PageQuery pageQuery);

    GeConCalendar queryById(Integer newId);

}
